package Ventanas.admin;

import java.awt.Dimension;
import java.io.IOException;
import java.rmi.server.SocketSecurityException;
import java.util.ArrayList;
import java.util.List;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.UIManager;

import util.SocketManager;
import Ventanas.usuario.PanelInicial;

public class VentanaA extends JFrame{

	private JPanel panel;
	public static int maximoConexiones = 1;
	
	public static int getMaximoConexiones() {
		return maximoConexiones;
	}

	public static void setMaximoConexiones(int maximoConexiones) {
		VentanaA.maximoConexiones = maximoConexiones;
	}

	public VentanaA(){
		this.setVisible(true);
		setSize(800,600);
		this.setPreferredSize(new Dimension (800,600));
		setResizable(false);	
		this.setDefaultCloseOperation(DISPOSE_ON_CLOSE);
		this.setLocationRelativeTo(null);

		panel = new PanelInicialA(this);
		
		pack();
	}
	
	
	
	
}

